puts json string in quotes for javascript