json validation + map with position