Added support for JSON with Padding (required by client).