As with JsonArray, probably better to do assignment here, move initialization of field to the other constructor.