Added custom serializer for view models

currently is not doing anything special