fix serializer for nested dictionaries
add fields to be filtered on