Build and parse activitystrea.ms <target/> element