Making classes work with the mono Json Deserializer