Added JSON_UNESCAPED_SLASHES to json_encode to prevent URL's from being escaped.