added cleanedMeta to clean up meta data types

`cleanedMeta` provides a way to clean the hpub data types e.g. `{hpub:"1"} -> {hpub:1}`. I have also added test case for it.