Updating models to work with JMS serializer (Serialize the knockoutjs objects into a metadata object)