Fixed json formatting in api.md for proper display