relax requirement of proplists having to be atoms for to_rec/2