JSON Serialization Update for input stream