fix dynamo marshalling