Restful Resource JSON API based on WPSpokes Framework