fixed tests for json (removed at the moment), refs #915"