Automated serialization (not yet deserialization)

* A phase generates method to serialize object
* Intro a new json reader module to read standard json (but not deserialize yet)

Does not use the FFI and will eventually replace the json module.

Passes all test eafter merge with upstream: http://gresil.org/jenkins/job/CI%20Alexis/40/