playing with custom json serialization