remove useless headers for api website
explicit json response
remove useless CommandError and NotFoundError