What if we provide an api for your to retrieve the keys (under a specific fqn) instead? If we expose Node.getData directly, the caller can bypass our tx/locking/replication interceptor semantics. So it is not a good practice.
I second what Ben says - exposing Node.getData() is certainly not a good idea.
Node.getDataKeys() already exists ...