added mime types to format, added missing brackets to arrays