Use enif_make_new_binary for serialization
Working commit