PCT-670: add support for FORMAT=JSON