logic bugfix
better error message
adding JSONList test