Make has_many work with hashes generated by rack parameters