Updated logic to generate uuid for subscriber
Updated rest.m to use PSBJSONParser for serializing dictionary