Correct (and defensive, and ugly) JSON expires_in handling
Merge pull request #1 from flozano/fix_json_handling

Correct (and defensive, and ugly) JSON expires_in handling