Changed the manager to have support for arrays and dicionaries that the api can return