Json checker in a separate file.