rudimentary parser, does not account for missing fields.