Added JSON read/write capability in prep for MongoDB persistence.