REST layer for the FoundationDB key-value store