Serialization of JSON serialisable objects using PrimitivIO.
#ML-52 Tested