Added stub code for framework
code to convert objects to json
code to convert array of objects to json