generate metadata in mock js