Clean up populate RPC for metadex