In vim, the default indentation for JSON is:
{ \"employees\": [ { \"firstName\":\"John\" , \"lastName\":\"Doe\" }, { \"firstName\":\"Anna\" , \"
gg=G is what you need if you are using vim.
gg=G