Getting final JSON merged