Spaces now has correct json response

[#74546432]
Moving some methods off of the package to a service object