php serialize replaced with json_encode/decode. Not working fully yet.
Fully functional implementation. Objects are stored as JSON.
Json serialized models example
Make JSON valid