Library for providing a uniform JSON output for RESTful APIs