library restful API JSON