Added json(Object) : String function.

I used GSON. Json-Simple parses JSON text, when we needed to actually serialize the Java Object.