Added jackson libraries, and updated code to remove errors in controller