Fix for hash key conversions with arrays of hashes

I found that it wasn't properly converting arrays of hashes. This fixes that and makes it possible to pass anything into convert_keys and it will leave anything but arrays and hashes untouched.