added json flag to readme