Beginning of sending json objects