clarify switch-case style code statement
remove user_data serialization error check

We cannot make this failure occur since the user data was already
serialized JSON when it was passed through the request.
Merge pull request #20 from mark-burnett/cleanup-branch-coverage

Cleanup branch coverage