Rails Mongoid JSON API for Challengr app