Format JSON locally.