Takes raw jsons instead of files now