parsing scope:operator for JSON and XML