Thanks to migration to json-in-xml serialisation some lower level bugs has been discovered with value types in the profiles, so simply fix it.