added added another constructor to JSONRequestAdapter