fix SerializeDynamic break from string Serialize(...)
add SerializeDynamic method that returns a string