Using Import annotation to add Mongo configuration to REST application