fixing api doc json formatting