Implemented batched metadata sync in REST

Metadata now only includes options and post formats, media is synced
separately