Move serializers to lib/models