Merge pull request #2665 from vbousquet/master

BugFix for UBJsonReader : prev field of JsonValue was not being set in arrays and object fields
Add ability to write JsonValue to UBJsonWriter