Write response data in a Response object
updating test indices
Fix phpdoc return type
fix index name for multimapping so it plays nicely
Tweaking return response to remove extraneous spaces
Fix tests