Parse ouput to hashmap