more object types support such as encoding as3 Objects and the decoding of Map to Object

and some various small bug fixes with byte types