parse text key/value pairs, unfortunately Angular doesn't display properties starting with '$' :(