Refactoring and rewriting of JsonPatch implementation.
Updated unittests for JsonPatch after refactoring and rewrite.
Added unittests for calculating size of jsonpatches and fixed an issue with incorrect size calculation.
Rewrote JsonPatch implementation to allow stepsiblings.
Added more unittests for JsonPatch and fixed some incorrect ones.
Merge branch 'develop' into issue/1871
Fixed unittests for incoming jsonpatches after refactoring.
Added unittests for creating jsonpatch with stepsiblings and fixed a couple of bugs in patch-creation.
Merge branch 'issue/1871' into develop