Adding Jackson annotations to make the properly serializable.