Added method for json array