changed implementation of intent parameter data after its implementation
changes from JSON array to JSON object