added test about automatic JSON record serialization from RTTI