Improve globally activemodel coding style

I removed a lot of old school hashes. For exemple {'toto' => 1}