Crearte and get object using JSON
Added the ability to create object from JSON string