fixing more api doc json formatting