Conversion methods moved to utils class.
When serializing the data we need to ensure to the new format is used.