Add Jackson annotations missing from #736

These should have been in the original PR, sorry!