Sent JSON OBject to layers