Using key tuple serializers in {to/from}_json() methods