How To Convert Json Object Into Javascript Substring