refactor parse of instructions for future support of InstructionMetadata