This addresses the issues by detecting and rejecting keystores with incorrect PBKDF2 and SCrypt params. It also bumps the version of nim-json-serialization to include a bugfix for incorrect parsing of json files featuring comments.