Fix formatting and binary_to_existing_atom encoding
Also replace keysearch with keyfind in c2s