More work on serializer. Now serializes properties. Started on relations.