support for decimal serialization and json value retrieval in objects