Issue #22 change syntax only if json object was prettified