Implicitly encode assoc arrays as maps