Fix formatting and binary_to_existing_atom encoding