consistent ruby style hashes
fix error when models uses a custom primary key column