parsing of activity field for LAMP