Add functions to encode and decode json objects
Utilize new JSON encoding/decoding classes for database
Add insert/delete REST API calls