fix type mapping issue, remove any field, and implement Serializable on bean class