Refactoring... Next step is to do some more error handling, I think:
 - Errors when parsing keys/values
 - Errors when there is no ':' between keys and values