Updating the muzima javascript serialization mechanism.