return original value if json parsing fails