JSON support for network_interface model

Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>