convert to take and output bitstring, tests green
marshal simple map