A better support for json-api