Layout refactoring.
Removing casting to IEnumerable<dynamic>
Removing useless namespaces.