Implemented parser for structs