how do I write proper json?