fix disabled pagination
Make fieldname matching transformation in JS the same as in ruby. Also add matching for association fields.
remove debugging lines