extract json helper
add examples for invalid JSON and JSONPaths