Updated REST API to match ember js