Get JSON context information based on a string