@Override
public Object readFrom(Class<Object> clazz,
Type type, Annotation[] antns, MediaType mt,
MultivaluedMap<String, String> mm,
InputStream in) throws IOException, WebApplicationException {
BrwsrCtx def = BrwsrCtx.findDefault(HtmlJsonProvider.class);
if (clazz.isArray()) {
List<Object> res = new ArrayList<Object>();
final Class<?> cmp = clazz.getComponentType();
Models.parse(def, cmp, in, res);
Object[] arr = (Object[]) Array.newInstance(cmp, res.size());