[MongoDB] Change to JPA back to Controller because we need more customized API.