using the main record as the jzon serialization