Added an option to conditionally get a serializeable dictionary representation (using hex strings instead of data for storing bigness)