Do not return nested object from unserialize
Fallback to input only if one argument
Support object representations of primitives