added PocketObject as json deserializer wrapper, code clean up