Creating rest service, encounter bug due to jackson deserialiser problem?