special handling for the JsonDescriptor to work around changes in PHP's JSON pretty printer