fix JsonObject serializations