[TASK] Check if target JSON file is writeable - closes #18