add mochijson2 {struct, [...]} format support for ej:valid