[WFLY-3371] Add support for json.pretty=1