feat(jsonFilter): add optional arg to define custom indentation

also change toJson function to accomodate passing in of number of spaces
`parseInt()` isn't needed for detecting numbers. But regardless, we don't need to worry about the "truthy vs true" thing, because it was a dumb idea to begin with and it's not going to matter intensely to anyone who uses it