Json encoder for NSString, NSData & NSDictionary