allow any serializable java objects as element properties

This merge request is just 1 commit down the 3 commits date-fix branch. This means it adds serialised object property support without removing date as long support.