additional json formatting for apidocs