Use common-beanutils to convert from one type to another