Added a helper method for reading an array of null separated strings and fixed dependency retrieval.