object: added another impl for binary and hex output

Not fully functional yet