Decided not to be lazy and use actual JSON to support variable status pathes instead of slicing the url string. This could also be extended later for other uses.