Need to add an initializer to customize the BSON::ObjectId.as_json() method. This fixes error we were getting between mongoid 4 and the way we are indexing models into elastic search.
Gemfile.lock should be pointing to github, not local repository.