JsonSerializer: Initial clean up of code

* Introduce NOM_DEBUG_JSON_UNSERIALIZER_VALUES preprocessor define.

* Introduce unserialize_array, unserialize_object methods.
* Implement serialize_array, serialize_object methods.