Use logging.exception for exception instead of logging.error
Fix typo
Initial JSON parse function commit