wip: repositories_controller: call to_object() method