Updating API templates to pretty print JSON