client output parser, basic implementation