WIP: Start numeric type for resources

Opening for comments on this approach. Not functional yet.
It seems weird to default to the binary form - I'd have picked the decimal one.