Reverted to_bytes