sending tags with objects id in array json objects