Enhanced getPOJOListFromJson() method.