almost there, nested JSON validation done
more modular than ever