pub fn build_array_from_specs( specs: &HashMap<String, JSONInput>, ) -> Result<JSONEntity, TrailError>