feat(toJson): don't allow pretty json formatting with 0 indentation
feat(jsonFilter): don't rely on default spacing of toJson function

it is  better to use an explicit number (instead of true),
so that the default behaviour of jsonFilter does not change
when / if the default indentation of toJson changes.
test(jsonFilter): add unit test for new functionality of custom indentation