Better conversion of JSON values, array support.