change output style to JSON