public static function formatObjectName(&$object)
{
foreach ($object as $oldKey => $value) {
$newKey = str_replace('ID', 'Id', str_replace('iD', 'id', lcfirst($oldKey)));
if ($newKey != $oldKey) {
$object[$newKey] = $value;
unset($object[$oldKey]);
}
}
}