Json java factory

IsArray method correction.