Fix style in JSON style gate's codes

Sorry. I didn't care about these styles when I wrote the codes.