bug fixes

fix for improper coercion of nested envelope properties of type String,
fix to drop numeric objects from the canonical form to follow spec.

Signed-off-by: Jim Klo <jim.klo@sri.com>