If this is JSON only, isn't there a way to specify that in routes? :format => json or something?