Added functionality to use json to store object data for application.