fix jsonschema ValidationError translation

Signed-off-by: Jan Dvořák <mordae@anilinux.org>
fix a small type in assert

Signed-off-by: Jan Dvořák <mordae@anilinux.org>
unbreak PATCH API methods

Signed-off-by: Jan Dvořák <mordae@anilinux.org>