update spring and jackson versions and cater for text/plain response types