More RESTful JSON fixes