parses return values from server success messages
gets rid of hyphens in dict/json keys