New required utility functions to serialize/deserialize objects using ujson