Removes extra spaces on mock response and creates a couple of method helpers