make serializers work with nesting etc