rails generated invalid-looking json, fixed the consumer