json serialization tested