More consistent behaviour for __jsonx__ methods