added jackson subtype support per #280