cleaned up profile card responses. Fixed the sample test for cards. Added in a content-type check for json response parsing.