That's great, although looks hacky. Can't wait to see it working for REST.